using System;
using Rainbow.ObjectFlow.Framework;

namespace Rainbow.Demo.Objectflow.Client
{
    public class PlaceOrder : BasicOperation<CustomerState>
    {
        public override CustomerState Execute(CustomerState data)
        {
            Console.WriteLine("Place order;");
            data.OrderPlaced = true;
            return data;
        }
    }
}